package com.woniuxy.service;

import com.woniuxy.entity.RbacManager;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.RbacManagerDTO;
//用户管理的业务层

public interface RbacManagerService  {

    ResponseEntity findAll( int currentPage,int pageSize);

    ResponseEntity deleteOne(int id);

    ResponseEntity addOne(RbacManager rbacManager);

    ResponseEntity editOne(RbacManager rbacManager);

    RbacManager findOneByName(String username);

    ResponseEntity editType(int id);

    ResponseEntity initPwd(int id);

    ResponseEntity updateRole(RbacManagerDTO rbacManagerDTO);

}
